package com.lanjiyin.cloud.common.msg;

public class ObjectRpcResponse<T> extends BaseResponse{

    T data;
    boolean rel;

    public boolean isRel() {
        return rel;
    }

    public void setRel(boolean rel) {
        this.rel = rel;
    }


    public ObjectRpcResponse rel(boolean rel) {
        this.setRel(rel);
        return this;
    }


    public ObjectRpcResponse data(T data) {
        this.setData(data);
        return this;
    }
    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }


}
